package com.hutao.manage.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class MrTransfusionExample {
    /**
     * MR_TRANSFUSION
     */
    protected String orderByClause;

    /**
     * MR_TRANSFUSION
     */
    protected boolean distinct;

    /**
     * MR_TRANSFUSION
     */
    protected List<Criteria> oredCriteria;

    /**
     *
     * @代码生成于 2020-09-29
     */
    public MrTransfusionExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     *
     * @代码生成于 2020-09-29
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     *
     * @代码生成于 2020-09-29
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     *
     * @代码生成于 2020-09-29
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     *
     * @代码生成于 2020-09-29
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     *
     * @代码生成于 2020-09-29
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     *
     * @代码生成于 2020-09-29
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     *
     * @代码生成于 2020-09-29
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     *
     * @代码生成于 2020-09-29
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     *
     * @代码生成于 2020-09-29
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     *
     * @代码生成于 2020-09-29
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * MR_TRANSFUSION 2020-09-29
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andMedicalClassIsNull() {
            addCriterion("MEDICAL_CLASS is null");
            return (Criteria) this;
        }

        public Criteria andMedicalClassIsNotNull() {
            addCriterion("MEDICAL_CLASS is not null");
            return (Criteria) this;
        }

        public Criteria andMedicalClassEqualTo(String value) {
            addCriterion("MEDICAL_CLASS =", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassNotEqualTo(String value) {
            addCriterion("MEDICAL_CLASS <>", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassGreaterThan(String value) {
            addCriterion("MEDICAL_CLASS >", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassGreaterThanOrEqualTo(String value) {
            addCriterion("MEDICAL_CLASS >=", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassLessThan(String value) {
            addCriterion("MEDICAL_CLASS <", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassLessThanOrEqualTo(String value) {
            addCriterion("MEDICAL_CLASS <=", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassLike(String value) {
            addCriterion("MEDICAL_CLASS like", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassNotLike(String value) {
            addCriterion("MEDICAL_CLASS not like", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassIn(List<String> values) {
            addCriterion("MEDICAL_CLASS in", values, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassNotIn(List<String> values) {
            addCriterion("MEDICAL_CLASS not in", values, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassBetween(String value1, String value2) {
            addCriterion("MEDICAL_CLASS between", value1, value2, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassNotBetween(String value1, String value2) {
            addCriterion("MEDICAL_CLASS not between", value1, value2, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andSerialNumberIsNull() {
            addCriterion("SERIAL_NUMBER is null");
            return (Criteria) this;
        }

        public Criteria andSerialNumberIsNotNull() {
            addCriterion("SERIAL_NUMBER is not null");
            return (Criteria) this;
        }

        public Criteria andSerialNumberEqualTo(Long value) {
            addCriterion("SERIAL_NUMBER =", value, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberNotEqualTo(Long value) {
            addCriterion("SERIAL_NUMBER <>", value, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberGreaterThan(Long value) {
            addCriterion("SERIAL_NUMBER >", value, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberGreaterThanOrEqualTo(Long value) {
            addCriterion("SERIAL_NUMBER >=", value, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberLessThan(Long value) {
            addCriterion("SERIAL_NUMBER <", value, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberLessThanOrEqualTo(Long value) {
            addCriterion("SERIAL_NUMBER <=", value, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberIn(List<Long> values) {
            addCriterion("SERIAL_NUMBER in", values, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberNotIn(List<Long> values) {
            addCriterion("SERIAL_NUMBER not in", values, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberBetween(Long value1, Long value2) {
            addCriterion("SERIAL_NUMBER between", value1, value2, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andSerialNumberNotBetween(Long value1, Long value2) {
            addCriterion("SERIAL_NUMBER not between", value1, value2, "serialNumber");
            return (Criteria) this;
        }

        public Criteria andOnlyIdIsNull() {
            addCriterion("ONLY_ID is null");
            return (Criteria) this;
        }

        public Criteria andOnlyIdIsNotNull() {
            addCriterion("ONLY_ID is not null");
            return (Criteria) this;
        }

        public Criteria andOnlyIdEqualTo(String value) {
            addCriterion("ONLY_ID =", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdNotEqualTo(String value) {
            addCriterion("ONLY_ID <>", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdGreaterThan(String value) {
            addCriterion("ONLY_ID >", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdGreaterThanOrEqualTo(String value) {
            addCriterion("ONLY_ID >=", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdLessThan(String value) {
            addCriterion("ONLY_ID <", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdLessThanOrEqualTo(String value) {
            addCriterion("ONLY_ID <=", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdLike(String value) {
            addCriterion("ONLY_ID like", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdNotLike(String value) {
            addCriterion("ONLY_ID not like", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdIn(List<String> values) {
            addCriterion("ONLY_ID in", values, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdNotIn(List<String> values) {
            addCriterion("ONLY_ID not in", values, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdBetween(String value1, String value2) {
            addCriterion("ONLY_ID between", value1, value2, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdNotBetween(String value1, String value2) {
            addCriterion("ONLY_ID not between", value1, value2, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdIsNull() {
            addCriterion("ORGANIZATION_ID is null");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdIsNotNull() {
            addCriterion("ORGANIZATION_ID is not null");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdEqualTo(String value) {
            addCriterion("ORGANIZATION_ID =", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdNotEqualTo(String value) {
            addCriterion("ORGANIZATION_ID <>", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdGreaterThan(String value) {
            addCriterion("ORGANIZATION_ID >", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdGreaterThanOrEqualTo(String value) {
            addCriterion("ORGANIZATION_ID >=", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdLessThan(String value) {
            addCriterion("ORGANIZATION_ID <", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdLessThanOrEqualTo(String value) {
            addCriterion("ORGANIZATION_ID <=", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdLike(String value) {
            addCriterion("ORGANIZATION_ID like", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdNotLike(String value) {
            addCriterion("ORGANIZATION_ID not like", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdIn(List<String> values) {
            addCriterion("ORGANIZATION_ID in", values, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdNotIn(List<String> values) {
            addCriterion("ORGANIZATION_ID not in", values, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdBetween(String value1, String value2) {
            addCriterion("ORGANIZATION_ID between", value1, value2, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdNotBetween(String value1, String value2) {
            addCriterion("ORGANIZATION_ID not between", value1, value2, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIsNull() {
            addCriterion("ORGANIZATION is null");
            return (Criteria) this;
        }

        public Criteria andOrganizationIsNotNull() {
            addCriterion("ORGANIZATION is not null");
            return (Criteria) this;
        }

        public Criteria andOrganizationEqualTo(String value) {
            addCriterion("ORGANIZATION =", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationNotEqualTo(String value) {
            addCriterion("ORGANIZATION <>", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationGreaterThan(String value) {
            addCriterion("ORGANIZATION >", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationGreaterThanOrEqualTo(String value) {
            addCriterion("ORGANIZATION >=", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationLessThan(String value) {
            addCriterion("ORGANIZATION <", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationLessThanOrEqualTo(String value) {
            addCriterion("ORGANIZATION <=", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationLike(String value) {
            addCriterion("ORGANIZATION like", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationNotLike(String value) {
            addCriterion("ORGANIZATION not like", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationIn(List<String> values) {
            addCriterion("ORGANIZATION in", values, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationNotIn(List<String> values) {
            addCriterion("ORGANIZATION not in", values, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationBetween(String value1, String value2) {
            addCriterion("ORGANIZATION between", value1, value2, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationNotBetween(String value1, String value2) {
            addCriterion("ORGANIZATION not between", value1, value2, "organization");
            return (Criteria) this;
        }

        public Criteria andBranchIdIsNull() {
            addCriterion("BRANCH_ID is null");
            return (Criteria) this;
        }

        public Criteria andBranchIdIsNotNull() {
            addCriterion("BRANCH_ID is not null");
            return (Criteria) this;
        }

        public Criteria andBranchIdEqualTo(String value) {
            addCriterion("BRANCH_ID =", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdNotEqualTo(String value) {
            addCriterion("BRANCH_ID <>", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdGreaterThan(String value) {
            addCriterion("BRANCH_ID >", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdGreaterThanOrEqualTo(String value) {
            addCriterion("BRANCH_ID >=", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdLessThan(String value) {
            addCriterion("BRANCH_ID <", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdLessThanOrEqualTo(String value) {
            addCriterion("BRANCH_ID <=", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdLike(String value) {
            addCriterion("BRANCH_ID like", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdNotLike(String value) {
            addCriterion("BRANCH_ID not like", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdIn(List<String> values) {
            addCriterion("BRANCH_ID in", values, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdNotIn(List<String> values) {
            addCriterion("BRANCH_ID not in", values, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdBetween(String value1, String value2) {
            addCriterion("BRANCH_ID between", value1, value2, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdNotBetween(String value1, String value2) {
            addCriterion("BRANCH_ID not between", value1, value2, "branchId");
            return (Criteria) this;
        }

        public Criteria andMrIdIsNull() {
            addCriterion("MR_ID is null");
            return (Criteria) this;
        }

        public Criteria andMrIdIsNotNull() {
            addCriterion("MR_ID is not null");
            return (Criteria) this;
        }

        public Criteria andMrIdEqualTo(String value) {
            addCriterion("MR_ID =", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdNotEqualTo(String value) {
            addCriterion("MR_ID <>", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdGreaterThan(String value) {
            addCriterion("MR_ID >", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdGreaterThanOrEqualTo(String value) {
            addCriterion("MR_ID >=", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdLessThan(String value) {
            addCriterion("MR_ID <", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdLessThanOrEqualTo(String value) {
            addCriterion("MR_ID <=", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdLike(String value) {
            addCriterion("MR_ID like", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdNotLike(String value) {
            addCriterion("MR_ID not like", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdIn(List<String> values) {
            addCriterion("MR_ID in", values, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdNotIn(List<String> values) {
            addCriterion("MR_ID not in", values, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdBetween(String value1, String value2) {
            addCriterion("MR_ID between", value1, value2, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdNotBetween(String value1, String value2) {
            addCriterion("MR_ID not between", value1, value2, "mrId");
            return (Criteria) this;
        }

        public Criteria andIdCardIsNull() {
            addCriterion("ID_CARD is null");
            return (Criteria) this;
        }

        public Criteria andIdCardIsNotNull() {
            addCriterion("ID_CARD is not null");
            return (Criteria) this;
        }

        public Criteria andIdCardEqualTo(String value) {
            addCriterion("ID_CARD =", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotEqualTo(String value) {
            addCriterion("ID_CARD <>", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardGreaterThan(String value) {
            addCriterion("ID_CARD >", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardGreaterThanOrEqualTo(String value) {
            addCriterion("ID_CARD >=", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLessThan(String value) {
            addCriterion("ID_CARD <", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLessThanOrEqualTo(String value) {
            addCriterion("ID_CARD <=", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLike(String value) {
            addCriterion("ID_CARD like", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotLike(String value) {
            addCriterion("ID_CARD not like", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardIn(List<String> values) {
            addCriterion("ID_CARD in", values, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotIn(List<String> values) {
            addCriterion("ID_CARD not in", values, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardBetween(String value1, String value2) {
            addCriterion("ID_CARD between", value1, value2, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotBetween(String value1, String value2) {
            addCriterion("ID_CARD not between", value1, value2, "idCard");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("NAME is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("NAME is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("NAME =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("NAME <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("NAME >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("NAME >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("NAME <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("NAME <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("NAME like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("NAME not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("NAME in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("NAME not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("NAME between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("NAME not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andPlateletIsNull() {
            addCriterion("PLATELET is null");
            return (Criteria) this;
        }

        public Criteria andPlateletIsNotNull() {
            addCriterion("PLATELET is not null");
            return (Criteria) this;
        }

        public Criteria andPlateletEqualTo(Long value) {
            addCriterion("PLATELET =", value, "platelet");
            return (Criteria) this;
        }

        public Criteria andPlateletNotEqualTo(Long value) {
            addCriterion("PLATELET <>", value, "platelet");
            return (Criteria) this;
        }

        public Criteria andPlateletGreaterThan(Long value) {
            addCriterion("PLATELET >", value, "platelet");
            return (Criteria) this;
        }

        public Criteria andPlateletGreaterThanOrEqualTo(Long value) {
            addCriterion("PLATELET >=", value, "platelet");
            return (Criteria) this;
        }

        public Criteria andPlateletLessThan(Long value) {
            addCriterion("PLATELET <", value, "platelet");
            return (Criteria) this;
        }

        public Criteria andPlateletLessThanOrEqualTo(Long value) {
            addCriterion("PLATELET <=", value, "platelet");
            return (Criteria) this;
        }

        public Criteria andPlateletIn(List<Long> values) {
            addCriterion("PLATELET in", values, "platelet");
            return (Criteria) this;
        }

        public Criteria andPlateletNotIn(List<Long> values) {
            addCriterion("PLATELET not in", values, "platelet");
            return (Criteria) this;
        }

        public Criteria andPlateletBetween(Long value1, Long value2) {
            addCriterion("PLATELET between", value1, value2, "platelet");
            return (Criteria) this;
        }

        public Criteria andPlateletNotBetween(Long value1, Long value2) {
            addCriterion("PLATELET not between", value1, value2, "platelet");
            return (Criteria) this;
        }

        public Criteria andPlasmaIsNull() {
            addCriterion("PLASMA is null");
            return (Criteria) this;
        }

        public Criteria andPlasmaIsNotNull() {
            addCriterion("PLASMA is not null");
            return (Criteria) this;
        }

        public Criteria andPlasmaEqualTo(Long value) {
            addCriterion("PLASMA =", value, "plasma");
            return (Criteria) this;
        }

        public Criteria andPlasmaNotEqualTo(Long value) {
            addCriterion("PLASMA <>", value, "plasma");
            return (Criteria) this;
        }

        public Criteria andPlasmaGreaterThan(Long value) {
            addCriterion("PLASMA >", value, "plasma");
            return (Criteria) this;
        }

        public Criteria andPlasmaGreaterThanOrEqualTo(Long value) {
            addCriterion("PLASMA >=", value, "plasma");
            return (Criteria) this;
        }

        public Criteria andPlasmaLessThan(Long value) {
            addCriterion("PLASMA <", value, "plasma");
            return (Criteria) this;
        }

        public Criteria andPlasmaLessThanOrEqualTo(Long value) {
            addCriterion("PLASMA <=", value, "plasma");
            return (Criteria) this;
        }

        public Criteria andPlasmaIn(List<Long> values) {
            addCriterion("PLASMA in", values, "plasma");
            return (Criteria) this;
        }

        public Criteria andPlasmaNotIn(List<Long> values) {
            addCriterion("PLASMA not in", values, "plasma");
            return (Criteria) this;
        }

        public Criteria andPlasmaBetween(Long value1, Long value2) {
            addCriterion("PLASMA between", value1, value2, "plasma");
            return (Criteria) this;
        }

        public Criteria andPlasmaNotBetween(Long value1, Long value2) {
            addCriterion("PLASMA not between", value1, value2, "plasma");
            return (Criteria) this;
        }

        public Criteria andWholeBloodIsNull() {
            addCriterion("WHOLE_BLOOD is null");
            return (Criteria) this;
        }

        public Criteria andWholeBloodIsNotNull() {
            addCriterion("WHOLE_BLOOD is not null");
            return (Criteria) this;
        }

        public Criteria andWholeBloodEqualTo(Long value) {
            addCriterion("WHOLE_BLOOD =", value, "wholeBlood");
            return (Criteria) this;
        }

        public Criteria andWholeBloodNotEqualTo(Long value) {
            addCriterion("WHOLE_BLOOD <>", value, "wholeBlood");
            return (Criteria) this;
        }

        public Criteria andWholeBloodGreaterThan(Long value) {
            addCriterion("WHOLE_BLOOD >", value, "wholeBlood");
            return (Criteria) this;
        }

        public Criteria andWholeBloodGreaterThanOrEqualTo(Long value) {
            addCriterion("WHOLE_BLOOD >=", value, "wholeBlood");
            return (Criteria) this;
        }

        public Criteria andWholeBloodLessThan(Long value) {
            addCriterion("WHOLE_BLOOD <", value, "wholeBlood");
            return (Criteria) this;
        }

        public Criteria andWholeBloodLessThanOrEqualTo(Long value) {
            addCriterion("WHOLE_BLOOD <=", value, "wholeBlood");
            return (Criteria) this;
        }

        public Criteria andWholeBloodIn(List<Long> values) {
            addCriterion("WHOLE_BLOOD in", values, "wholeBlood");
            return (Criteria) this;
        }

        public Criteria andWholeBloodNotIn(List<Long> values) {
            addCriterion("WHOLE_BLOOD not in", values, "wholeBlood");
            return (Criteria) this;
        }

        public Criteria andWholeBloodBetween(Long value1, Long value2) {
            addCriterion("WHOLE_BLOOD between", value1, value2, "wholeBlood");
            return (Criteria) this;
        }

        public Criteria andWholeBloodNotBetween(Long value1, Long value2) {
            addCriterion("WHOLE_BLOOD not between", value1, value2, "wholeBlood");
            return (Criteria) this;
        }

        public Criteria andTransfusionReactionIsNull() {
            addCriterion("TRANSFUSION_REACTION is null");
            return (Criteria) this;
        }

        public Criteria andTransfusionReactionIsNotNull() {
            addCriterion("TRANSFUSION_REACTION is not null");
            return (Criteria) this;
        }

        public Criteria andTransfusionReactionEqualTo(String value) {
            addCriterion("TRANSFUSION_REACTION =", value, "transfusionReaction");
            return (Criteria) this;
        }

        public Criteria andTransfusionReactionNotEqualTo(String value) {
            addCriterion("TRANSFUSION_REACTION <>", value, "transfusionReaction");
            return (Criteria) this;
        }

        public Criteria andTransfusionReactionGreaterThan(String value) {
            addCriterion("TRANSFUSION_REACTION >", value, "transfusionReaction");
            return (Criteria) this;
        }

        public Criteria andTransfusionReactionGreaterThanOrEqualTo(String value) {
            addCriterion("TRANSFUSION_REACTION >=", value, "transfusionReaction");
            return (Criteria) this;
        }

        public Criteria andTransfusionReactionLessThan(String value) {
            addCriterion("TRANSFUSION_REACTION <", value, "transfusionReaction");
            return (Criteria) this;
        }

        public Criteria andTransfusionReactionLessThanOrEqualTo(String value) {
            addCriterion("TRANSFUSION_REACTION <=", value, "transfusionReaction");
            return (Criteria) this;
        }

        public Criteria andTransfusionReactionLike(String value) {
            addCriterion("TRANSFUSION_REACTION like", value, "transfusionReaction");
            return (Criteria) this;
        }

        public Criteria andTransfusionReactionNotLike(String value) {
            addCriterion("TRANSFUSION_REACTION not like", value, "transfusionReaction");
            return (Criteria) this;
        }

        public Criteria andTransfusionReactionIn(List<String> values) {
            addCriterion("TRANSFUSION_REACTION in", values, "transfusionReaction");
            return (Criteria) this;
        }

        public Criteria andTransfusionReactionNotIn(List<String> values) {
            addCriterion("TRANSFUSION_REACTION not in", values, "transfusionReaction");
            return (Criteria) this;
        }

        public Criteria andTransfusionReactionBetween(String value1, String value2) {
            addCriterion("TRANSFUSION_REACTION between", value1, value2, "transfusionReaction");
            return (Criteria) this;
        }

        public Criteria andTransfusionReactionNotBetween(String value1, String value2) {
            addCriterion("TRANSFUSION_REACTION not between", value1, value2, "transfusionReaction");
            return (Criteria) this;
        }

        public Criteria andCloudIdIsNull() {
            addCriterion("CLOUD_ID is null");
            return (Criteria) this;
        }

        public Criteria andCloudIdIsNotNull() {
            addCriterion("CLOUD_ID is not null");
            return (Criteria) this;
        }

        public Criteria andCloudIdEqualTo(Long value) {
            addCriterion("CLOUD_ID =", value, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdNotEqualTo(Long value) {
            addCriterion("CLOUD_ID <>", value, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdGreaterThan(Long value) {
            addCriterion("CLOUD_ID >", value, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdGreaterThanOrEqualTo(Long value) {
            addCriterion("CLOUD_ID >=", value, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdLessThan(Long value) {
            addCriterion("CLOUD_ID <", value, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdLessThanOrEqualTo(Long value) {
            addCriterion("CLOUD_ID <=", value, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdIn(List<Long> values) {
            addCriterion("CLOUD_ID in", values, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdNotIn(List<Long> values) {
            addCriterion("CLOUD_ID not in", values, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdBetween(Long value1, Long value2) {
            addCriterion("CLOUD_ID between", value1, value2, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudIdNotBetween(Long value1, Long value2) {
            addCriterion("CLOUD_ID not between", value1, value2, "cloudId");
            return (Criteria) this;
        }

        public Criteria andCloudChangeIsNull() {
            addCriterion("CLOUD_CHANGE is null");
            return (Criteria) this;
        }

        public Criteria andCloudChangeIsNotNull() {
            addCriterion("CLOUD_CHANGE is not null");
            return (Criteria) this;
        }

        public Criteria andCloudChangeEqualTo(String value) {
            addCriterion("CLOUD_CHANGE =", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeNotEqualTo(String value) {
            addCriterion("CLOUD_CHANGE <>", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeGreaterThan(String value) {
            addCriterion("CLOUD_CHANGE >", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeGreaterThanOrEqualTo(String value) {
            addCriterion("CLOUD_CHANGE >=", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeLessThan(String value) {
            addCriterion("CLOUD_CHANGE <", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeLessThanOrEqualTo(String value) {
            addCriterion("CLOUD_CHANGE <=", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeLike(String value) {
            addCriterion("CLOUD_CHANGE like", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeNotLike(String value) {
            addCriterion("CLOUD_CHANGE not like", value, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeIn(List<String> values) {
            addCriterion("CLOUD_CHANGE in", values, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeNotIn(List<String> values) {
            addCriterion("CLOUD_CHANGE not in", values, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeBetween(String value1, String value2) {
            addCriterion("CLOUD_CHANGE between", value1, value2, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudChangeNotBetween(String value1, String value2) {
            addCriterion("CLOUD_CHANGE not between", value1, value2, "cloudChange");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberIsNull() {
            addCriterion("CLOUD_SERIAL_NUMBER is null");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberIsNotNull() {
            addCriterion("CLOUD_SERIAL_NUMBER is not null");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberEqualTo(Long value) {
            addCriterion("CLOUD_SERIAL_NUMBER =", value, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberNotEqualTo(Long value) {
            addCriterion("CLOUD_SERIAL_NUMBER <>", value, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberGreaterThan(Long value) {
            addCriterion("CLOUD_SERIAL_NUMBER >", value, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberGreaterThanOrEqualTo(Long value) {
            addCriterion("CLOUD_SERIAL_NUMBER >=", value, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberLessThan(Long value) {
            addCriterion("CLOUD_SERIAL_NUMBER <", value, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberLessThanOrEqualTo(Long value) {
            addCriterion("CLOUD_SERIAL_NUMBER <=", value, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberIn(List<Long> values) {
            addCriterion("CLOUD_SERIAL_NUMBER in", values, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberNotIn(List<Long> values) {
            addCriterion("CLOUD_SERIAL_NUMBER not in", values, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberBetween(Long value1, Long value2) {
            addCriterion("CLOUD_SERIAL_NUMBER between", value1, value2, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudSerialNumberNotBetween(Long value1, Long value2) {
            addCriterion("CLOUD_SERIAL_NUMBER not between", value1, value2, "cloudSerialNumber");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeIsNull() {
            addCriterion("CLOUD_CHANGE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeIsNotNull() {
            addCriterion("CLOUD_CHANGE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeEqualTo(Date value) {
            addCriterion("CLOUD_CHANGE_TIME =", value, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeNotEqualTo(Date value) {
            addCriterion("CLOUD_CHANGE_TIME <>", value, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeGreaterThan(Date value) {
            addCriterion("CLOUD_CHANGE_TIME >", value, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CLOUD_CHANGE_TIME >=", value, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeLessThan(Date value) {
            addCriterion("CLOUD_CHANGE_TIME <", value, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeLessThanOrEqualTo(Date value) {
            addCriterion("CLOUD_CHANGE_TIME <=", value, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeIn(List<Date> values) {
            addCriterion("CLOUD_CHANGE_TIME in", values, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeNotIn(List<Date> values) {
            addCriterion("CLOUD_CHANGE_TIME not in", values, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeBetween(Date value1, Date value2) {
            addCriterion("CLOUD_CHANGE_TIME between", value1, value2, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andCloudChangeTimeNotBetween(Date value1, Date value2) {
            addCriterion("CLOUD_CHANGE_TIME not between", value1, value2, "cloudChangeTime");
            return (Criteria) this;
        }

        public Criteria andParentNumberIsNull() {
            addCriterion("PARENT_NUMBER is null");
            return (Criteria) this;
        }

        public Criteria andParentNumberIsNotNull() {
            addCriterion("PARENT_NUMBER is not null");
            return (Criteria) this;
        }

        public Criteria andParentNumberEqualTo(Long value) {
            addCriterion("PARENT_NUMBER =", value, "parentNumber");
            return (Criteria) this;
        }

        public Criteria andParentNumberNotEqualTo(Long value) {
            addCriterion("PARENT_NUMBER <>", value, "parentNumber");
            return (Criteria) this;
        }

        public Criteria andParentNumberGreaterThan(Long value) {
            addCriterion("PARENT_NUMBER >", value, "parentNumber");
            return (Criteria) this;
        }

        public Criteria andParentNumberGreaterThanOrEqualTo(Long value) {
            addCriterion("PARENT_NUMBER >=", value, "parentNumber");
            return (Criteria) this;
        }

        public Criteria andParentNumberLessThan(Long value) {
            addCriterion("PARENT_NUMBER <", value, "parentNumber");
            return (Criteria) this;
        }

        public Criteria andParentNumberLessThanOrEqualTo(Long value) {
            addCriterion("PARENT_NUMBER <=", value, "parentNumber");
            return (Criteria) this;
        }

        public Criteria andParentNumberIn(List<Long> values) {
            addCriterion("PARENT_NUMBER in", values, "parentNumber");
            return (Criteria) this;
        }

        public Criteria andParentNumberNotIn(List<Long> values) {
            addCriterion("PARENT_NUMBER not in", values, "parentNumber");
            return (Criteria) this;
        }

        public Criteria andParentNumberBetween(Long value1, Long value2) {
            addCriterion("PARENT_NUMBER between", value1, value2, "parentNumber");
            return (Criteria) this;
        }

        public Criteria andParentNumberNotBetween(Long value1, Long value2) {
            addCriterion("PARENT_NUMBER not between", value1, value2, "parentNumber");
            return (Criteria) this;
        }

        public Criteria andStopedFlagIsNull() {
            addCriterion("STOPED_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andStopedFlagIsNotNull() {
            addCriterion("STOPED_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andStopedFlagEqualTo(String value) {
            addCriterion("STOPED_FLAG =", value, "stopedFlag");
            return (Criteria) this;
        }

        public Criteria andStopedFlagNotEqualTo(String value) {
            addCriterion("STOPED_FLAG <>", value, "stopedFlag");
            return (Criteria) this;
        }

        public Criteria andStopedFlagGreaterThan(String value) {
            addCriterion("STOPED_FLAG >", value, "stopedFlag");
            return (Criteria) this;
        }

        public Criteria andStopedFlagGreaterThanOrEqualTo(String value) {
            addCriterion("STOPED_FLAG >=", value, "stopedFlag");
            return (Criteria) this;
        }

        public Criteria andStopedFlagLessThan(String value) {
            addCriterion("STOPED_FLAG <", value, "stopedFlag");
            return (Criteria) this;
        }

        public Criteria andStopedFlagLessThanOrEqualTo(String value) {
            addCriterion("STOPED_FLAG <=", value, "stopedFlag");
            return (Criteria) this;
        }

        public Criteria andStopedFlagLike(String value) {
            addCriterion("STOPED_FLAG like", value, "stopedFlag");
            return (Criteria) this;
        }

        public Criteria andStopedFlagNotLike(String value) {
            addCriterion("STOPED_FLAG not like", value, "stopedFlag");
            return (Criteria) this;
        }

        public Criteria andStopedFlagIn(List<String> values) {
            addCriterion("STOPED_FLAG in", values, "stopedFlag");
            return (Criteria) this;
        }

        public Criteria andStopedFlagNotIn(List<String> values) {
            addCriterion("STOPED_FLAG not in", values, "stopedFlag");
            return (Criteria) this;
        }

        public Criteria andStopedFlagBetween(String value1, String value2) {
            addCriterion("STOPED_FLAG between", value1, value2, "stopedFlag");
            return (Criteria) this;
        }

        public Criteria andStopedFlagNotBetween(String value1, String value2) {
            addCriterion("STOPED_FLAG not between", value1, value2, "stopedFlag");
            return (Criteria) this;
        }

        public Criteria andRecordTimeIsNull() {
            addCriterion("RECORD_TIME is null");
            return (Criteria) this;
        }

        public Criteria andRecordTimeIsNotNull() {
            addCriterion("RECORD_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andRecordTimeEqualTo(Date value) {
            addCriterion("RECORD_TIME =", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeNotEqualTo(Date value) {
            addCriterion("RECORD_TIME <>", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeGreaterThan(Date value) {
            addCriterion("RECORD_TIME >", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("RECORD_TIME >=", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeLessThan(Date value) {
            addCriterion("RECORD_TIME <", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeLessThanOrEqualTo(Date value) {
            addCriterion("RECORD_TIME <=", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeIn(List<Date> values) {
            addCriterion("RECORD_TIME in", values, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeNotIn(List<Date> values) {
            addCriterion("RECORD_TIME not in", values, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeBetween(Date value1, Date value2) {
            addCriterion("RECORD_TIME between", value1, value2, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeNotBetween(Date value1, Date value2) {
            addCriterion("RECORD_TIME not between", value1, value2, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordCardIsNull() {
            addCriterion("RECORD_CARD is null");
            return (Criteria) this;
        }

        public Criteria andRecordCardIsNotNull() {
            addCriterion("RECORD_CARD is not null");
            return (Criteria) this;
        }

        public Criteria andRecordCardEqualTo(String value) {
            addCriterion("RECORD_CARD =", value, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardNotEqualTo(String value) {
            addCriterion("RECORD_CARD <>", value, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardGreaterThan(String value) {
            addCriterion("RECORD_CARD >", value, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardGreaterThanOrEqualTo(String value) {
            addCriterion("RECORD_CARD >=", value, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardLessThan(String value) {
            addCriterion("RECORD_CARD <", value, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardLessThanOrEqualTo(String value) {
            addCriterion("RECORD_CARD <=", value, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardLike(String value) {
            addCriterion("RECORD_CARD like", value, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardNotLike(String value) {
            addCriterion("RECORD_CARD not like", value, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardIn(List<String> values) {
            addCriterion("RECORD_CARD in", values, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardNotIn(List<String> values) {
            addCriterion("RECORD_CARD not in", values, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardBetween(String value1, String value2) {
            addCriterion("RECORD_CARD between", value1, value2, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRecordCardNotBetween(String value1, String value2) {
            addCriterion("RECORD_CARD not between", value1, value2, "recordCard");
            return (Criteria) this;
        }

        public Criteria andRedCellSuspensionIsNull() {
            addCriterion("RED_CELL_SUSPENSION is null");
            return (Criteria) this;
        }

        public Criteria andRedCellSuspensionIsNotNull() {
            addCriterion("RED_CELL_SUSPENSION is not null");
            return (Criteria) this;
        }

        public Criteria andRedCellSuspensionEqualTo(Long value) {
            addCriterion("RED_CELL_SUSPENSION =", value, "redCellSuspension");
            return (Criteria) this;
        }

        public Criteria andRedCellSuspensionNotEqualTo(Long value) {
            addCriterion("RED_CELL_SUSPENSION <>", value, "redCellSuspension");
            return (Criteria) this;
        }

        public Criteria andRedCellSuspensionGreaterThan(Long value) {
            addCriterion("RED_CELL_SUSPENSION >", value, "redCellSuspension");
            return (Criteria) this;
        }

        public Criteria andRedCellSuspensionGreaterThanOrEqualTo(Long value) {
            addCriterion("RED_CELL_SUSPENSION >=", value, "redCellSuspension");
            return (Criteria) this;
        }

        public Criteria andRedCellSuspensionLessThan(Long value) {
            addCriterion("RED_CELL_SUSPENSION <", value, "redCellSuspension");
            return (Criteria) this;
        }

        public Criteria andRedCellSuspensionLessThanOrEqualTo(Long value) {
            addCriterion("RED_CELL_SUSPENSION <=", value, "redCellSuspension");
            return (Criteria) this;
        }

        public Criteria andRedCellSuspensionIn(List<Long> values) {
            addCriterion("RED_CELL_SUSPENSION in", values, "redCellSuspension");
            return (Criteria) this;
        }

        public Criteria andRedCellSuspensionNotIn(List<Long> values) {
            addCriterion("RED_CELL_SUSPENSION not in", values, "redCellSuspension");
            return (Criteria) this;
        }

        public Criteria andRedCellSuspensionBetween(Long value1, Long value2) {
            addCriterion("RED_CELL_SUSPENSION between", value1, value2, "redCellSuspension");
            return (Criteria) this;
        }

        public Criteria andRedCellSuspensionNotBetween(Long value1, Long value2) {
            addCriterion("RED_CELL_SUSPENSION not between", value1, value2, "redCellSuspension");
            return (Criteria) this;
        }

        public Criteria andRedCellWashIsNull() {
            addCriterion("RED_CELL_WASH is null");
            return (Criteria) this;
        }

        public Criteria andRedCellWashIsNotNull() {
            addCriterion("RED_CELL_WASH is not null");
            return (Criteria) this;
        }

        public Criteria andRedCellWashEqualTo(Long value) {
            addCriterion("RED_CELL_WASH =", value, "redCellWash");
            return (Criteria) this;
        }

        public Criteria andRedCellWashNotEqualTo(Long value) {
            addCriterion("RED_CELL_WASH <>", value, "redCellWash");
            return (Criteria) this;
        }

        public Criteria andRedCellWashGreaterThan(Long value) {
            addCriterion("RED_CELL_WASH >", value, "redCellWash");
            return (Criteria) this;
        }

        public Criteria andRedCellWashGreaterThanOrEqualTo(Long value) {
            addCriterion("RED_CELL_WASH >=", value, "redCellWash");
            return (Criteria) this;
        }

        public Criteria andRedCellWashLessThan(Long value) {
            addCriterion("RED_CELL_WASH <", value, "redCellWash");
            return (Criteria) this;
        }

        public Criteria andRedCellWashLessThanOrEqualTo(Long value) {
            addCriterion("RED_CELL_WASH <=", value, "redCellWash");
            return (Criteria) this;
        }

        public Criteria andRedCellWashIn(List<Long> values) {
            addCriterion("RED_CELL_WASH in", values, "redCellWash");
            return (Criteria) this;
        }

        public Criteria andRedCellWashNotIn(List<Long> values) {
            addCriterion("RED_CELL_WASH not in", values, "redCellWash");
            return (Criteria) this;
        }

        public Criteria andRedCellWashBetween(Long value1, Long value2) {
            addCriterion("RED_CELL_WASH between", value1, value2, "redCellWash");
            return (Criteria) this;
        }

        public Criteria andRedCellWashNotBetween(Long value1, Long value2) {
            addCriterion("RED_CELL_WASH not between", value1, value2, "redCellWash");
            return (Criteria) this;
        }

        public Criteria andCryoIsNull() {
            addCriterion("CRYO is null");
            return (Criteria) this;
        }

        public Criteria andCryoIsNotNull() {
            addCriterion("CRYO is not null");
            return (Criteria) this;
        }

        public Criteria andCryoEqualTo(Long value) {
            addCriterion("CRYO =", value, "cryo");
            return (Criteria) this;
        }

        public Criteria andCryoNotEqualTo(Long value) {
            addCriterion("CRYO <>", value, "cryo");
            return (Criteria) this;
        }

        public Criteria andCryoGreaterThan(Long value) {
            addCriterion("CRYO >", value, "cryo");
            return (Criteria) this;
        }

        public Criteria andCryoGreaterThanOrEqualTo(Long value) {
            addCriterion("CRYO >=", value, "cryo");
            return (Criteria) this;
        }

        public Criteria andCryoLessThan(Long value) {
            addCriterion("CRYO <", value, "cryo");
            return (Criteria) this;
        }

        public Criteria andCryoLessThanOrEqualTo(Long value) {
            addCriterion("CRYO <=", value, "cryo");
            return (Criteria) this;
        }

        public Criteria andCryoIn(List<Long> values) {
            addCriterion("CRYO in", values, "cryo");
            return (Criteria) this;
        }

        public Criteria andCryoNotIn(List<Long> values) {
            addCriterion("CRYO not in", values, "cryo");
            return (Criteria) this;
        }

        public Criteria andCryoBetween(Long value1, Long value2) {
            addCriterion("CRYO between", value1, value2, "cryo");
            return (Criteria) this;
        }

        public Criteria andCryoNotBetween(Long value1, Long value2) {
            addCriterion("CRYO not between", value1, value2, "cryo");
            return (Criteria) this;
        }

        public Criteria andAutobloodRecoveryIsNull() {
            addCriterion("AUTOBLOOD_RECOVERY is null");
            return (Criteria) this;
        }

        public Criteria andAutobloodRecoveryIsNotNull() {
            addCriterion("AUTOBLOOD_RECOVERY is not null");
            return (Criteria) this;
        }

        public Criteria andAutobloodRecoveryEqualTo(Long value) {
            addCriterion("AUTOBLOOD_RECOVERY =", value, "autobloodRecovery");
            return (Criteria) this;
        }

        public Criteria andAutobloodRecoveryNotEqualTo(Long value) {
            addCriterion("AUTOBLOOD_RECOVERY <>", value, "autobloodRecovery");
            return (Criteria) this;
        }

        public Criteria andAutobloodRecoveryGreaterThan(Long value) {
            addCriterion("AUTOBLOOD_RECOVERY >", value, "autobloodRecovery");
            return (Criteria) this;
        }

        public Criteria andAutobloodRecoveryGreaterThanOrEqualTo(Long value) {
            addCriterion("AUTOBLOOD_RECOVERY >=", value, "autobloodRecovery");
            return (Criteria) this;
        }

        public Criteria andAutobloodRecoveryLessThan(Long value) {
            addCriterion("AUTOBLOOD_RECOVERY <", value, "autobloodRecovery");
            return (Criteria) this;
        }

        public Criteria andAutobloodRecoveryLessThanOrEqualTo(Long value) {
            addCriterion("AUTOBLOOD_RECOVERY <=", value, "autobloodRecovery");
            return (Criteria) this;
        }

        public Criteria andAutobloodRecoveryIn(List<Long> values) {
            addCriterion("AUTOBLOOD_RECOVERY in", values, "autobloodRecovery");
            return (Criteria) this;
        }

        public Criteria andAutobloodRecoveryNotIn(List<Long> values) {
            addCriterion("AUTOBLOOD_RECOVERY not in", values, "autobloodRecovery");
            return (Criteria) this;
        }

        public Criteria andAutobloodRecoveryBetween(Long value1, Long value2) {
            addCriterion("AUTOBLOOD_RECOVERY between", value1, value2, "autobloodRecovery");
            return (Criteria) this;
        }

        public Criteria andAutobloodRecoveryNotBetween(Long value1, Long value2) {
            addCriterion("AUTOBLOOD_RECOVERY not between", value1, value2, "autobloodRecovery");
            return (Criteria) this;
        }

        public Criteria andAutobloodReinfusionIsNull() {
            addCriterion("AUTOBLOOD_REINFUSION is null");
            return (Criteria) this;
        }

        public Criteria andAutobloodReinfusionIsNotNull() {
            addCriterion("AUTOBLOOD_REINFUSION is not null");
            return (Criteria) this;
        }

        public Criteria andAutobloodReinfusionEqualTo(Long value) {
            addCriterion("AUTOBLOOD_REINFUSION =", value, "autobloodReinfusion");
            return (Criteria) this;
        }

        public Criteria andAutobloodReinfusionNotEqualTo(Long value) {
            addCriterion("AUTOBLOOD_REINFUSION <>", value, "autobloodReinfusion");
            return (Criteria) this;
        }

        public Criteria andAutobloodReinfusionGreaterThan(Long value) {
            addCriterion("AUTOBLOOD_REINFUSION >", value, "autobloodReinfusion");
            return (Criteria) this;
        }

        public Criteria andAutobloodReinfusionGreaterThanOrEqualTo(Long value) {
            addCriterion("AUTOBLOOD_REINFUSION >=", value, "autobloodReinfusion");
            return (Criteria) this;
        }

        public Criteria andAutobloodReinfusionLessThan(Long value) {
            addCriterion("AUTOBLOOD_REINFUSION <", value, "autobloodReinfusion");
            return (Criteria) this;
        }

        public Criteria andAutobloodReinfusionLessThanOrEqualTo(Long value) {
            addCriterion("AUTOBLOOD_REINFUSION <=", value, "autobloodReinfusion");
            return (Criteria) this;
        }

        public Criteria andAutobloodReinfusionIn(List<Long> values) {
            addCriterion("AUTOBLOOD_REINFUSION in", values, "autobloodReinfusion");
            return (Criteria) this;
        }

        public Criteria andAutobloodReinfusionNotIn(List<Long> values) {
            addCriterion("AUTOBLOOD_REINFUSION not in", values, "autobloodReinfusion");
            return (Criteria) this;
        }

        public Criteria andAutobloodReinfusionBetween(Long value1, Long value2) {
            addCriterion("AUTOBLOOD_REINFUSION between", value1, value2, "autobloodReinfusion");
            return (Criteria) this;
        }

        public Criteria andAutobloodReinfusionNotBetween(Long value1, Long value2) {
            addCriterion("AUTOBLOOD_REINFUSION not between", value1, value2, "autobloodReinfusion");
            return (Criteria) this;
        }

        public Criteria andAutobloodHeparinIsNull() {
            addCriterion("AUTOBLOOD_HEPARIN is null");
            return (Criteria) this;
        }

        public Criteria andAutobloodHeparinIsNotNull() {
            addCriterion("AUTOBLOOD_HEPARIN is not null");
            return (Criteria) this;
        }

        public Criteria andAutobloodHeparinEqualTo(Long value) {
            addCriterion("AUTOBLOOD_HEPARIN =", value, "autobloodHeparin");
            return (Criteria) this;
        }

        public Criteria andAutobloodHeparinNotEqualTo(Long value) {
            addCriterion("AUTOBLOOD_HEPARIN <>", value, "autobloodHeparin");
            return (Criteria) this;
        }

        public Criteria andAutobloodHeparinGreaterThan(Long value) {
            addCriterion("AUTOBLOOD_HEPARIN >", value, "autobloodHeparin");
            return (Criteria) this;
        }

        public Criteria andAutobloodHeparinGreaterThanOrEqualTo(Long value) {
            addCriterion("AUTOBLOOD_HEPARIN >=", value, "autobloodHeparin");
            return (Criteria) this;
        }

        public Criteria andAutobloodHeparinLessThan(Long value) {
            addCriterion("AUTOBLOOD_HEPARIN <", value, "autobloodHeparin");
            return (Criteria) this;
        }

        public Criteria andAutobloodHeparinLessThanOrEqualTo(Long value) {
            addCriterion("AUTOBLOOD_HEPARIN <=", value, "autobloodHeparin");
            return (Criteria) this;
        }

        public Criteria andAutobloodHeparinIn(List<Long> values) {
            addCriterion("AUTOBLOOD_HEPARIN in", values, "autobloodHeparin");
            return (Criteria) this;
        }

        public Criteria andAutobloodHeparinNotIn(List<Long> values) {
            addCriterion("AUTOBLOOD_HEPARIN not in", values, "autobloodHeparin");
            return (Criteria) this;
        }

        public Criteria andAutobloodHeparinBetween(Long value1, Long value2) {
            addCriterion("AUTOBLOOD_HEPARIN between", value1, value2, "autobloodHeparin");
            return (Criteria) this;
        }

        public Criteria andAutobloodHeparinNotBetween(Long value1, Long value2) {
            addCriterion("AUTOBLOOD_HEPARIN not between", value1, value2, "autobloodHeparin");
            return (Criteria) this;
        }

        public Criteria andAutobloodBrineIsNull() {
            addCriterion("AUTOBLOOD_BRINE is null");
            return (Criteria) this;
        }

        public Criteria andAutobloodBrineIsNotNull() {
            addCriterion("AUTOBLOOD_BRINE is not null");
            return (Criteria) this;
        }

        public Criteria andAutobloodBrineEqualTo(Long value) {
            addCriterion("AUTOBLOOD_BRINE =", value, "autobloodBrine");
            return (Criteria) this;
        }

        public Criteria andAutobloodBrineNotEqualTo(Long value) {
            addCriterion("AUTOBLOOD_BRINE <>", value, "autobloodBrine");
            return (Criteria) this;
        }

        public Criteria andAutobloodBrineGreaterThan(Long value) {
            addCriterion("AUTOBLOOD_BRINE >", value, "autobloodBrine");
            return (Criteria) this;
        }

        public Criteria andAutobloodBrineGreaterThanOrEqualTo(Long value) {
            addCriterion("AUTOBLOOD_BRINE >=", value, "autobloodBrine");
            return (Criteria) this;
        }

        public Criteria andAutobloodBrineLessThan(Long value) {
            addCriterion("AUTOBLOOD_BRINE <", value, "autobloodBrine");
            return (Criteria) this;
        }

        public Criteria andAutobloodBrineLessThanOrEqualTo(Long value) {
            addCriterion("AUTOBLOOD_BRINE <=", value, "autobloodBrine");
            return (Criteria) this;
        }

        public Criteria andAutobloodBrineIn(List<Long> values) {
            addCriterion("AUTOBLOOD_BRINE in", values, "autobloodBrine");
            return (Criteria) this;
        }

        public Criteria andAutobloodBrineNotIn(List<Long> values) {
            addCriterion("AUTOBLOOD_BRINE not in", values, "autobloodBrine");
            return (Criteria) this;
        }

        public Criteria andAutobloodBrineBetween(Long value1, Long value2) {
            addCriterion("AUTOBLOOD_BRINE between", value1, value2, "autobloodBrine");
            return (Criteria) this;
        }

        public Criteria andAutobloodBrineNotBetween(Long value1, Long value2) {
            addCriterion("AUTOBLOOD_BRINE not between", value1, value2, "autobloodBrine");
            return (Criteria) this;
        }

        public Criteria andComponentIsNull() {
            addCriterion("COMPONENT is null");
            return (Criteria) this;
        }

        public Criteria andComponentIsNotNull() {
            addCriterion("COMPONENT is not null");
            return (Criteria) this;
        }

        public Criteria andComponentEqualTo(String value) {
            addCriterion("COMPONENT =", value, "component");
            return (Criteria) this;
        }

        public Criteria andComponentNotEqualTo(String value) {
            addCriterion("COMPONENT <>", value, "component");
            return (Criteria) this;
        }

        public Criteria andComponentGreaterThan(String value) {
            addCriterion("COMPONENT >", value, "component");
            return (Criteria) this;
        }

        public Criteria andComponentGreaterThanOrEqualTo(String value) {
            addCriterion("COMPONENT >=", value, "component");
            return (Criteria) this;
        }

        public Criteria andComponentLessThan(String value) {
            addCriterion("COMPONENT <", value, "component");
            return (Criteria) this;
        }

        public Criteria andComponentLessThanOrEqualTo(String value) {
            addCriterion("COMPONENT <=", value, "component");
            return (Criteria) this;
        }

        public Criteria andComponentLike(String value) {
            addCriterion("COMPONENT like", value, "component");
            return (Criteria) this;
        }

        public Criteria andComponentNotLike(String value) {
            addCriterion("COMPONENT not like", value, "component");
            return (Criteria) this;
        }

        public Criteria andComponentIn(List<String> values) {
            addCriterion("COMPONENT in", values, "component");
            return (Criteria) this;
        }

        public Criteria andComponentNotIn(List<String> values) {
            addCriterion("COMPONENT not in", values, "component");
            return (Criteria) this;
        }

        public Criteria andComponentBetween(String value1, String value2) {
            addCriterion("COMPONENT between", value1, value2, "component");
            return (Criteria) this;
        }

        public Criteria andComponentNotBetween(String value1, String value2) {
            addCriterion("COMPONENT not between", value1, value2, "component");
            return (Criteria) this;
        }

        public Criteria andComponentAmountIsNull() {
            addCriterion("COMPONENT_AMOUNT is null");
            return (Criteria) this;
        }

        public Criteria andComponentAmountIsNotNull() {
            addCriterion("COMPONENT_AMOUNT is not null");
            return (Criteria) this;
        }

        public Criteria andComponentAmountEqualTo(Long value) {
            addCriterion("COMPONENT_AMOUNT =", value, "componentAmount");
            return (Criteria) this;
        }

        public Criteria andComponentAmountNotEqualTo(Long value) {
            addCriterion("COMPONENT_AMOUNT <>", value, "componentAmount");
            return (Criteria) this;
        }

        public Criteria andComponentAmountGreaterThan(Long value) {
            addCriterion("COMPONENT_AMOUNT >", value, "componentAmount");
            return (Criteria) this;
        }

        public Criteria andComponentAmountGreaterThanOrEqualTo(Long value) {
            addCriterion("COMPONENT_AMOUNT >=", value, "componentAmount");
            return (Criteria) this;
        }

        public Criteria andComponentAmountLessThan(Long value) {
            addCriterion("COMPONENT_AMOUNT <", value, "componentAmount");
            return (Criteria) this;
        }

        public Criteria andComponentAmountLessThanOrEqualTo(Long value) {
            addCriterion("COMPONENT_AMOUNT <=", value, "componentAmount");
            return (Criteria) this;
        }

        public Criteria andComponentAmountIn(List<Long> values) {
            addCriterion("COMPONENT_AMOUNT in", values, "componentAmount");
            return (Criteria) this;
        }

        public Criteria andComponentAmountNotIn(List<Long> values) {
            addCriterion("COMPONENT_AMOUNT not in", values, "componentAmount");
            return (Criteria) this;
        }

        public Criteria andComponentAmountBetween(Long value1, Long value2) {
            addCriterion("COMPONENT_AMOUNT between", value1, value2, "componentAmount");
            return (Criteria) this;
        }

        public Criteria andComponentAmountNotBetween(Long value1, Long value2) {
            addCriterion("COMPONENT_AMOUNT not between", value1, value2, "componentAmount");
            return (Criteria) this;
        }

        public Criteria andOtherBloodIsNull() {
            addCriterion("OTHER_BLOOD is null");
            return (Criteria) this;
        }

        public Criteria andOtherBloodIsNotNull() {
            addCriterion("OTHER_BLOOD is not null");
            return (Criteria) this;
        }

        public Criteria andOtherBloodEqualTo(Integer value) {
            addCriterion("OTHER_BLOOD =", value, "otherBlood");
            return (Criteria) this;
        }

        public Criteria andOtherBloodNotEqualTo(Integer value) {
            addCriterion("OTHER_BLOOD <>", value, "otherBlood");
            return (Criteria) this;
        }

        public Criteria andOtherBloodGreaterThan(Integer value) {
            addCriterion("OTHER_BLOOD >", value, "otherBlood");
            return (Criteria) this;
        }

        public Criteria andOtherBloodGreaterThanOrEqualTo(Integer value) {
            addCriterion("OTHER_BLOOD >=", value, "otherBlood");
            return (Criteria) this;
        }

        public Criteria andOtherBloodLessThan(Integer value) {
            addCriterion("OTHER_BLOOD <", value, "otherBlood");
            return (Criteria) this;
        }

        public Criteria andOtherBloodLessThanOrEqualTo(Integer value) {
            addCriterion("OTHER_BLOOD <=", value, "otherBlood");
            return (Criteria) this;
        }

        public Criteria andOtherBloodIn(List<Integer> values) {
            addCriterion("OTHER_BLOOD in", values, "otherBlood");
            return (Criteria) this;
        }

        public Criteria andOtherBloodNotIn(List<Integer> values) {
            addCriterion("OTHER_BLOOD not in", values, "otherBlood");
            return (Criteria) this;
        }

        public Criteria andOtherBloodBetween(Integer value1, Integer value2) {
            addCriterion("OTHER_BLOOD between", value1, value2, "otherBlood");
            return (Criteria) this;
        }

        public Criteria andOtherBloodNotBetween(Integer value1, Integer value2) {
            addCriterion("OTHER_BLOOD not between", value1, value2, "otherBlood");
            return (Criteria) this;
        }

        public Criteria andAlbuminIsNull() {
            addCriterion("ALBUMIN is null");
            return (Criteria) this;
        }

        public Criteria andAlbuminIsNotNull() {
            addCriterion("ALBUMIN is not null");
            return (Criteria) this;
        }

        public Criteria andAlbuminEqualTo(Integer value) {
            addCriterion("ALBUMIN =", value, "albumin");
            return (Criteria) this;
        }

        public Criteria andAlbuminNotEqualTo(Integer value) {
            addCriterion("ALBUMIN <>", value, "albumin");
            return (Criteria) this;
        }

        public Criteria andAlbuminGreaterThan(Integer value) {
            addCriterion("ALBUMIN >", value, "albumin");
            return (Criteria) this;
        }

        public Criteria andAlbuminGreaterThanOrEqualTo(Integer value) {
            addCriterion("ALBUMIN >=", value, "albumin");
            return (Criteria) this;
        }

        public Criteria andAlbuminLessThan(Integer value) {
            addCriterion("ALBUMIN <", value, "albumin");
            return (Criteria) this;
        }

        public Criteria andAlbuminLessThanOrEqualTo(Integer value) {
            addCriterion("ALBUMIN <=", value, "albumin");
            return (Criteria) this;
        }

        public Criteria andAlbuminIn(List<Integer> values) {
            addCriterion("ALBUMIN in", values, "albumin");
            return (Criteria) this;
        }

        public Criteria andAlbuminNotIn(List<Integer> values) {
            addCriterion("ALBUMIN not in", values, "albumin");
            return (Criteria) this;
        }

        public Criteria andAlbuminBetween(Integer value1, Integer value2) {
            addCriterion("ALBUMIN between", value1, value2, "albumin");
            return (Criteria) this;
        }

        public Criteria andAlbuminNotBetween(Integer value1, Integer value2) {
            addCriterion("ALBUMIN not between", value1, value2, "albumin");
            return (Criteria) this;
        }

        public Criteria andAutobloodIsNull() {
            addCriterion("AUTOBLOOD is null");
            return (Criteria) this;
        }

        public Criteria andAutobloodIsNotNull() {
            addCriterion("AUTOBLOOD is not null");
            return (Criteria) this;
        }

        public Criteria andAutobloodEqualTo(Integer value) {
            addCriterion("AUTOBLOOD =", value, "autoblood");
            return (Criteria) this;
        }

        public Criteria andAutobloodNotEqualTo(Integer value) {
            addCriterion("AUTOBLOOD <>", value, "autoblood");
            return (Criteria) this;
        }

        public Criteria andAutobloodGreaterThan(Integer value) {
            addCriterion("AUTOBLOOD >", value, "autoblood");
            return (Criteria) this;
        }

        public Criteria andAutobloodGreaterThanOrEqualTo(Integer value) {
            addCriterion("AUTOBLOOD >=", value, "autoblood");
            return (Criteria) this;
        }

        public Criteria andAutobloodLessThan(Integer value) {
            addCriterion("AUTOBLOOD <", value, "autoblood");
            return (Criteria) this;
        }

        public Criteria andAutobloodLessThanOrEqualTo(Integer value) {
            addCriterion("AUTOBLOOD <=", value, "autoblood");
            return (Criteria) this;
        }

        public Criteria andAutobloodIn(List<Integer> values) {
            addCriterion("AUTOBLOOD in", values, "autoblood");
            return (Criteria) this;
        }

        public Criteria andAutobloodNotIn(List<Integer> values) {
            addCriterion("AUTOBLOOD not in", values, "autoblood");
            return (Criteria) this;
        }

        public Criteria andAutobloodBetween(Integer value1, Integer value2) {
            addCriterion("AUTOBLOOD between", value1, value2, "autoblood");
            return (Criteria) this;
        }

        public Criteria andAutobloodNotBetween(Integer value1, Integer value2) {
            addCriterion("AUTOBLOOD not between", value1, value2, "autoblood");
            return (Criteria) this;
        }

        public Criteria andRedCellIsNull() {
            addCriterion("RED_CELL is null");
            return (Criteria) this;
        }

        public Criteria andRedCellIsNotNull() {
            addCriterion("RED_CELL is not null");
            return (Criteria) this;
        }

        public Criteria andRedCellEqualTo(Integer value) {
            addCriterion("RED_CELL =", value, "redCell");
            return (Criteria) this;
        }

        public Criteria andRedCellNotEqualTo(Integer value) {
            addCriterion("RED_CELL <>", value, "redCell");
            return (Criteria) this;
        }

        public Criteria andRedCellGreaterThan(Integer value) {
            addCriterion("RED_CELL >", value, "redCell");
            return (Criteria) this;
        }

        public Criteria andRedCellGreaterThanOrEqualTo(Integer value) {
            addCriterion("RED_CELL >=", value, "redCell");
            return (Criteria) this;
        }

        public Criteria andRedCellLessThan(Integer value) {
            addCriterion("RED_CELL <", value, "redCell");
            return (Criteria) this;
        }

        public Criteria andRedCellLessThanOrEqualTo(Integer value) {
            addCriterion("RED_CELL <=", value, "redCell");
            return (Criteria) this;
        }

        public Criteria andRedCellIn(List<Integer> values) {
            addCriterion("RED_CELL in", values, "redCell");
            return (Criteria) this;
        }

        public Criteria andRedCellNotIn(List<Integer> values) {
            addCriterion("RED_CELL not in", values, "redCell");
            return (Criteria) this;
        }

        public Criteria andRedCellBetween(Integer value1, Integer value2) {
            addCriterion("RED_CELL between", value1, value2, "redCell");
            return (Criteria) this;
        }

        public Criteria andRedCellNotBetween(Integer value1, Integer value2) {
            addCriterion("RED_CELL not between", value1, value2, "redCell");
            return (Criteria) this;
        }

        public Criteria andTransfusionIsNull() {
            addCriterion("TRANSFUSION is null");
            return (Criteria) this;
        }

        public Criteria andTransfusionIsNotNull() {
            addCriterion("TRANSFUSION is not null");
            return (Criteria) this;
        }

        public Criteria andTransfusionEqualTo(String value) {
            addCriterion("TRANSFUSION =", value, "transfusion");
            return (Criteria) this;
        }

        public Criteria andTransfusionNotEqualTo(String value) {
            addCriterion("TRANSFUSION <>", value, "transfusion");
            return (Criteria) this;
        }

        public Criteria andTransfusionGreaterThan(String value) {
            addCriterion("TRANSFUSION >", value, "transfusion");
            return (Criteria) this;
        }

        public Criteria andTransfusionGreaterThanOrEqualTo(String value) {
            addCriterion("TRANSFUSION >=", value, "transfusion");
            return (Criteria) this;
        }

        public Criteria andTransfusionLessThan(String value) {
            addCriterion("TRANSFUSION <", value, "transfusion");
            return (Criteria) this;
        }

        public Criteria andTransfusionLessThanOrEqualTo(String value) {
            addCriterion("TRANSFUSION <=", value, "transfusion");
            return (Criteria) this;
        }

        public Criteria andTransfusionLike(String value) {
            addCriterion("TRANSFUSION like", value, "transfusion");
            return (Criteria) this;
        }

        public Criteria andTransfusionNotLike(String value) {
            addCriterion("TRANSFUSION not like", value, "transfusion");
            return (Criteria) this;
        }

        public Criteria andTransfusionIn(List<String> values) {
            addCriterion("TRANSFUSION in", values, "transfusion");
            return (Criteria) this;
        }

        public Criteria andTransfusionNotIn(List<String> values) {
            addCriterion("TRANSFUSION not in", values, "transfusion");
            return (Criteria) this;
        }

        public Criteria andTransfusionBetween(String value1, String value2) {
            addCriterion("TRANSFUSION between", value1, value2, "transfusion");
            return (Criteria) this;
        }

        public Criteria andTransfusionNotBetween(String value1, String value2) {
            addCriterion("TRANSFUSION not between", value1, value2, "transfusion");
            return (Criteria) this;
        }

        public Criteria andTransfusionTimeIsNull() {
            addCriterion("TRANSFUSION_TIME is null");
            return (Criteria) this;
        }

        public Criteria andTransfusionTimeIsNotNull() {
            addCriterion("TRANSFUSION_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andTransfusionTimeEqualTo(Date value) {
            addCriterionForJDBCDate("TRANSFUSION_TIME =", value, "transfusionTime");
            return (Criteria) this;
        }

        public Criteria andTransfusionTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("TRANSFUSION_TIME <>", value, "transfusionTime");
            return (Criteria) this;
        }

        public Criteria andTransfusionTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("TRANSFUSION_TIME >", value, "transfusionTime");
            return (Criteria) this;
        }

        public Criteria andTransfusionTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("TRANSFUSION_TIME >=", value, "transfusionTime");
            return (Criteria) this;
        }

        public Criteria andTransfusionTimeLessThan(Date value) {
            addCriterionForJDBCDate("TRANSFUSION_TIME <", value, "transfusionTime");
            return (Criteria) this;
        }

        public Criteria andTransfusionTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("TRANSFUSION_TIME <=", value, "transfusionTime");
            return (Criteria) this;
        }

        public Criteria andTransfusionTimeIn(List<Date> values) {
            addCriterionForJDBCDate("TRANSFUSION_TIME in", values, "transfusionTime");
            return (Criteria) this;
        }

        public Criteria andTransfusionTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("TRANSFUSION_TIME not in", values, "transfusionTime");
            return (Criteria) this;
        }

        public Criteria andTransfusionTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("TRANSFUSION_TIME between", value1, value2, "transfusionTime");
            return (Criteria) this;
        }

        public Criteria andTransfusionTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("TRANSFUSION_TIME not between", value1, value2, "transfusionTime");
            return (Criteria) this;
        }

        public Criteria andRecordNumberIsNull() {
            addCriterion("RECORD_NUMBER is null");
            return (Criteria) this;
        }

        public Criteria andRecordNumberIsNotNull() {
            addCriterion("RECORD_NUMBER is not null");
            return (Criteria) this;
        }

        public Criteria andRecordNumberEqualTo(String value) {
            addCriterion("RECORD_NUMBER =", value, "recordNumber");
            return (Criteria) this;
        }

        public Criteria andRecordNumberNotEqualTo(String value) {
            addCriterion("RECORD_NUMBER <>", value, "recordNumber");
            return (Criteria) this;
        }

        public Criteria andRecordNumberGreaterThan(String value) {
            addCriterion("RECORD_NUMBER >", value, "recordNumber");
            return (Criteria) this;
        }

        public Criteria andRecordNumberGreaterThanOrEqualTo(String value) {
            addCriterion("RECORD_NUMBER >=", value, "recordNumber");
            return (Criteria) this;
        }

        public Criteria andRecordNumberLessThan(String value) {
            addCriterion("RECORD_NUMBER <", value, "recordNumber");
            return (Criteria) this;
        }

        public Criteria andRecordNumberLessThanOrEqualTo(String value) {
            addCriterion("RECORD_NUMBER <=", value, "recordNumber");
            return (Criteria) this;
        }

        public Criteria andRecordNumberLike(String value) {
            addCriterion("RECORD_NUMBER like", value, "recordNumber");
            return (Criteria) this;
        }

        public Criteria andRecordNumberNotLike(String value) {
            addCriterion("RECORD_NUMBER not like", value, "recordNumber");
            return (Criteria) this;
        }

        public Criteria andRecordNumberIn(List<String> values) {
            addCriterion("RECORD_NUMBER in", values, "recordNumber");
            return (Criteria) this;
        }

        public Criteria andRecordNumberNotIn(List<String> values) {
            addCriterion("RECORD_NUMBER not in", values, "recordNumber");
            return (Criteria) this;
        }

        public Criteria andRecordNumberBetween(String value1, String value2) {
            addCriterion("RECORD_NUMBER between", value1, value2, "recordNumber");
            return (Criteria) this;
        }

        public Criteria andRecordNumberNotBetween(String value1, String value2) {
            addCriterion("RECORD_NUMBER not between", value1, value2, "recordNumber");
            return (Criteria) this;
        }
    }

    /**
     * MR_TRANSFUSION
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * MR_TRANSFUSION 2020-09-29
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}